package com.itheima.oop.thisdemo;

/**
 * @author Anomaly
 * @date 2022/12/5 13:20
 */
public class Test {
    public static void main(String[] args) {
        Car car = new Car();
        car.run();
        System.out.println(car);

        Car test = new Car("test", 12);
        System.out.println(test.name);
        System.out.println(test.price);
    }
}
